Collection.Add Method

Value is added as the last element of the collection; if Key is provided, it may be used to refer to the element using the Item property. Key defaults to the empty string.

Syntax

Collection.Add Value, Key

Parameters

Value

Variant

Key

String